home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC-SIG: World of Games
/
PC-SIG World of Games (CDRM1080710) (1993).iso
/
3154
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-03-12
|
3KB
|
88 lines
echo off
cls
if %1a == a: goto WHATDRIVE
if %1b == b: goto WHATDRIVE
if %1 == c: goto START
if %1 == C: goto START
if %1 == d: goto START
if %1 == D: goto START
if %1 == e: goto START
if %1 == E: goto START
if %1 == f: goto START
if %1 == F: goto START
goto NOTDRIVE
:START
echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
echo * *
echo * Word Search Puzzle Maker Hard Disk Installation *
echo * *
echo * This will create a directory called %1\WORDSPM on your hard disk, *
echo * and will install Word Search Puzzle Maker and its files in that *
echo * directory. *
echo * *
echo * If you don't want Word Search Puzzle Maker installed at this time, *
echo * press Ctrl + C. *
echo * *
echo * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
echo
pause
cls
echo Making directory %1\WORDSPM . . .
if exist %1\WORDSPM\*.* goto EXISTS
md %1\WORDSPM
:CHECK
if exist WSPM.EXE goto CONTINUE
echo
echo Place the disk containing Word Search Puzzle Maker and its files in
echo active drive.
echo
pause
goto CHECK
:CONTINUE
echo
echo Copying Word Search Puzzle Maker and its files . . .
copy WSPM.EXE %1\WORDSPM
copy GO.BAT %1\WORDSPM
copy INSTALL.BAT %1\WORDSPM
copy DIRECTRI.TXT %1\WORDSPM
copy DOCUMENT.TXT %1\WORDSPM
copy *.WHL %1\WORDSPM
if not exist %1\WORDSPM\WSPM.EXE goto INSTALLERROR
if not exist %1\WORDSPM\DIRECTRI.TXT goto INSTALLERROR
if not exist %1\WORDSPM\INSTALL.BAT goto INSTALLERROR
cd %1\WORDSPM
echo
echo Word Search Puzzle Maker is installed on your hard disk. To run it,
echo type WSPM.
%1
echo
goto DONE
:WHATDRIVE
cls
echo Installation Error: To install Word Search Puzzle Maker on your hard
echo disk, you must include the drive as part of the install command. For
echo example, to install Word Search Puzzle Maker on drive C, type INSTALL C:
echo and press ENTER.
goto ERRORQUIT
:NOTDRIVE
cls
echo Installation Error: The hard drive letter can be a letter from C to F,
echo For example, INSTALL C: will install Word Search Puzzle Maker on drive
echo C. You must include a colon after the drive letter.
goto ERRORQUIT
:INSTALLERROR
cls
echo Installation Error: Do you have enough space on your hard disk?
echo Did you give the proper hard drive letter?
goto ERRORQUIT
:EXISTS
cls
echo Installation Error: WORDSPM Directory already exists on this drive.
echo Delete this directory and all files in it, then try installing again.
goto ERRORQUIT
:ERRORQUIT
echo
echo Word Search Puzzle Maker was not installed correctly.
echo
:DONE